<!DOCTYPE html>
<html>

<head>

    {include file="Public/header"}
    <link href="__STATIC__/layout/css/plugins/summernote/summernote.css" rel="stylesheet">
    <link href="__STATIC__/layout/css/plugins/summernote/summernote-bs3.css" rel="stylesheet">
    <link href="__STATIC__/layout/css/gyq.css" rel="stylesheet">
    <link rel="stylesheet" href="__STATIC__/layout/css/demo.css" type="text/css">
    <style>
        .radio-inline input[type=radio] {
            margin-top: 4px
        }
    </style>
</head>

<body style="color:#333;padding:3px;">
<!-- 标题 -->
<div class="page-heade">
    <h2 class="title_color text-center">常规促销执行情况一览表</h2>
</div>
<!-- 标题 -->
<div>
    <form action="" class="form-inline">
        <table class="table-bordered table text-left">
            <tr>
                <td style="min-width: 160px;width: 160px">网点名称:</td>
                <td>{$net.title}</td>
                <td style="min-width: 160px;width: 160px">网点地址:</td>
                <td>{if $net.detailAddress} {$net.detailAddress} {else/}待填{/if}</td>
                <td style="min-width: 160px;width: 160px">所属经销商:</td>
                <td>{$jxs.title}</td>
            </tr>
            <tr>
                <td style="min-width: 160px;width: 160px">网点主要联系人:</td>
                <td>{if $netci}{$netci.name}{else/}待填{/if}</td>
                <td style="min-width: 160px;width: 160px">联系方式:</td>
                <td>{if $netci}{$netci.mobile}{else/}待填{/if}</td>
                <td style="min-width: 160px;width: 160px">活动编号:</td>
                <td>{$apply.sn}-{$de.sn}</td>
            </tr>
            <tr>
                <td style="min-width: 160px;width: 160px">活动产品:</td>
                <td>{$de.chanpin}</td>
                <td style="min-width: 160px;width: 160px">三级费用科目:</td>
                <td>{$de.kemu}</td>
                <td style="min-width: 160px;width: 160px">申请费用额:</td>
                <td><span class="num2">{$de.hanshui}</span>元</td>
            </tr>
             <tr>
                <td style="min-width: 160px;width: 160px">陈列位置:</td>
                <td></td>
                <td style="min-width: 160px;width: 160px">陈列类型:</td>
                <td></td>
                <td style="min-width: 160px;width: 160px">陈列尺寸:</td>
                <td></td>
            </tr>
            <tr>
                <td>费用描述:</td>
                <td colspan="5">{$de.feiyongmiaoshu}</td>
            </tr>
        </table>
        <table class="row-margin-top table-bordered table text-center">
            <tr class="warning">
                <td colspan="8" class="font-bold">活动审核意见</td>
            </tr>
            <tr class="info">
                <td>序号</td>
                <td>审核日期</td>
                <td>审核结果</td>
                <td>审核人</td>
                <td style="width:40%">审批意见</td>
                
            </tr>
            {if $logs}
            {volist name="logs" id="l"}
            <tr>
                <td>{$i}</td>
                <td>{$l.ACTIONTIME}</td>
                <td>{$l.MEMO}</td>
                <td>{$l.USERNAME}</td>
                <td>{if $l.COMMENTS}{$l.COMMENTS}{else/}无{/if}</td>

            </tr>
            {/volist}
            {else/}
            <tr >
                <td colspan="5">无活动审核意见信息</td>
            </tr>
            {/if}
        </table>
        <table class="row-margin-top table-bordered table text-center">
            <tr class="warning">
                <td colspan="9" class="font-bold">活动反馈</td>
            </tr>
            <tr class="info">
                <td>日期</td>
                <td>提交人</td>
                <td>预计销量(元)</td>
                <td>实际销量(元)</td>
                <td>预计花费(元)</td>
                <td>实际花费(元)</td>
                <td>活动照片</td>
                <td>活动心得</td>
                <td>操作</td>
            </tr>
            {if $fb}
            <tr>
                <td>{$de.fb_time}</td>
                <td>{$de.fb_user}</td>
                <td>{$de.totalExpectedSales}</td>
                <td>{$de.fb_shijixiaoliang}</td>
                <td>{$de.pizhunhanshui}</td>
                <td>{$de.fb_shijitourufeiyong}</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td><a href="{:url('Tifeedback/view')}?id={$fb.id}">查看详情</a></td>
            </tr>
            {else/}
             <tr >
                <td colspan="9">无反馈信息</td>
            </tr>
            {/if}
        </table>
        <table class="row-margin-top table-bordered table text-center">
            <tr class="warning">
                <td colspan="14" class="font-bold">活动检查情况</td>
            </tr>
            <tr class="info">
                <td rowspan="2">序号</td>
                <td rowspan="2">日期</td>
                <td rowspan="2">建议核销</td>
                <td colspan="5">汇报人信息</td>
                <td rowspan="2">活动相片</td>
                <td rowspan="2">数据采集地址</td>
                <td rowspan="2">网点地址</td>
                <td rowspan="2">距离偏差</td>
                <td rowspan="2">偏差异常</td>
                <td rowspan="2">活动描述</td>
            </tr>
            <tr class="info">
                <td>性质</td>
                <td>所属经销商</td>
                <td>姓名</td>
                <td>部门</td>
                <td>岗位</td>
            </tr>
            <tr>
                <td colspan="14">无核查信息</td>
            </tr>
        </table>
    </form>
</div>
<!-- 全局js -->
{include file="Public/footer"}
<!-- <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script> -->
<script src="__STATIC__/layout/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
<script type="text/javascript">
$(".num2").each(function(){
    if(isNaN(parseFloat($(this).html()))){
        $(this).html("0.00");
    }else{
        $(this).html(parseFloat($(this).html()).toFixed(2));
    }
})
</script>
</body>
</html>
